﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 设计模式.模板模式
{
    public class TemplatePatternDemo
    {
        public static void Test()
        {
            Game game = new Cricket();
            game.Play();
            Console.WriteLine();
            game = new Football();
            game.Play();
        }
    }
}
